package com.yonyou.cyxdms.sysAuth.service.mapper;

import com.yonyou.cyxdms.sysAuth.service.dto.EquityDto;
import com.yonyou.cyxdms.sysAuth.service.entity.EquityPo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author <a href="https://www.fengwenyi.com?code">Erwin Feng</a>
 * @since 2022-06-14
 */
@Mapper
public interface EquityStructureMapper extends BaseMapper<EquityPo> {

    List<EquityDto> selectByCompanyId(@Param("companyId") Integer companyId);

     int deleteById(@Param("equityId") Long equityId);
}
